package com.wzq.app.ui;

import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.wzq.app.R;
import com.wzq.app.base.BaseActivity;
import com.wzq.app.utils.ToastUtils;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * @ProjectName: 2021WZQ
 * @Package: com.wzq.app.ui
 * @ClassName: RegisterActivity
 * @Description: java类作用描述
 * @Author: Tao.xiaolong
 * @CreateDate: 2021-03-17 21:21
 * @UpdateUser: 更新者：
 * @UpdateDate: 2021-03-17 21:21
 * @UpdateRemark: 更新说明：
 * @Version: 1.0
 */
public class RegisterActivity extends BaseActivity {
    @BindView(R.id.register_phone)
    EditText registerPhone;
    @BindView(R.id.login_password)
    EditText loginPassword;
    @BindView(R.id.com_password)
    EditText comPassword;
    @BindView(R.id.submit)
    TextView submit;
    @BindView(R.id.head_left)
    TextView headLeft;
    @BindView(R.id.title)
    RelativeLayout title;

    @Override
    public int getLayoutId() {
        return R.layout.register_activity;
    }

    @Override
    public void configView() {

    }

    @OnClick({R.id.head_left})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.head_left:
                finish();
                break;
            case R.id.submit:
                ToastUtils.showToast(mContext, "注冊");
                break;
            default:
                break;
        }
    }

    @Override
    public void requestData() {

    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // TODO: add setContentView(...) invocation
        ButterKnife.bind(this);
    }
}
